package com.liuhung.ash.security.service;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.liuhung.base.service.BaseService;
import com.liuhung.ash.security.dao.UsersDao;
import com.liuhung.ash.security.entity.Users;


@Service("usersService")
@Transactional
public class UsersService extends BaseService<Users> {
	
	@Autowired
    private UsersDao<Users> dao;

		
	public UsersDao<Users> getDao() {
		return dao;
	}
	public Users findUserByUserName(String username){
		return dao.findUserByUserName(username);
	}
	
}
